JS中的"什么意思?
来源:百度知道 编辑:UC知道 时间:2024/06/05 05:55:28
<a href="javascript:if(confirm( "are you sure?"))
location="delmsg.php?id=<?php echo $row_checkmsg['id'];?>"">删除</a>
里面的"什么意思啊?
location="delmsg.php?id=<?php echo $row_checkmsg['id'];?>"">删除</a>
里面的"什么意思啊?
空格,就是一个空格,
因为他不识别你自己的排版模式
当点击删除时 系统会提示 are you sure?
如果用户点确定删除! 窗口就会跳转到 delmsg.php这个页面
传递给这个页面的参数是id=<?php echo $row_checkmsg['id'];?>
楼主明白了吧??
祝楼主早日成功!